<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/pages/common/taglib.jsp"%>

<c:forEach var="goodcatogory" varStatus="goodcatogoryindex" items="${datas}">
	<tr>
		<td>
			${goodcatogory.id}
			<c:if test="${goodcatogoryindex.index==0}"><input type="hidden" id="itemCount" value="${itemCount}"/></c:if>
		</td>
		<td><img src="${goodcatogory.bannerurl}" alt="" height="50" width="50"></td>
		<td class="keys">${goodcatogory.name}</td>
		<td >${goodcatogory.pname}</td>
		<td >${goodcatogory.level}</td>
		<td class="tmui-tips" tip="${tz:formatDate(goodcatogory.createTime,'yyyy-MM-dd HH:mm:ss')}">
				${tz:timeFormat(goodcatogory.createTime)}
		</td>
		<%--<td>--%>
			<%--<tz:if test="${goodcatogory.deleteCode=='001'}">--%>
				<%--<tz:then><a href="javascript:void(0)" opid="${adminuser.id}" mark="deleteCode" val="002" onclick="tzAdmin.op(this);" class="green">否</a></tz:then>--%>
                	<%--<tz:else><a href="javascript:void(0)" opid="${adminuser.id}" mark="deleteCode" val="001" onclick="tzAdmin.op(this);" class="red">是</a></tz:else>--%>
			<%--</tz:if>--%>
		<%--</td>--%>

		<td>
			<a href="${adminPath}/shop/goodcatogory/edit/${goodcatogory.id}"  class="btn btn-success" >修改</a>
			<a href="javascript:void(0);" data-opid="${goodcatogory.id}" class="btn btn-danger" onclick="tzAdmin.remove(this)">删除</a>
		</td>
	</tr>
</c:forEach>
